package com.princehan.config;

import com.princehan.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @Description
 * @Author:PrinceHan
 * @CreateTime:2022/4/14 12:23
 */
@Configuration
@Import(Config2.class)
public class SpringConfig {

    @Bean
    public User user() {
        return new User();
    }
}
